//
//  WWY_AppTools.h
//  Pianke
//
//  Created by Daydream on 15/12/23.
//  Copyright © 2015年 dada. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^MJRefreshComponentRefreshingBlock)();

@interface WWY_AppTools : NSObject


+ (CGSize)SizeForCommitSize:(CGSize)size andFont:(UIFont*)font andContent:(NSString *)string;

//改变刷新动图的大小
+(UIImage *)image:(UIImage*)image byScalingToSize:(CGSize)targetSize;



//下拉刷新封装的方法
+(MJRefreshGifHeader *)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;

// 上拉刷新封装方法
+(MJRefreshBackGifFooter *)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;


@end
